package com.wanxi.user.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author:Iny
 * @Data：2022/1/10 14:54
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AddressDto {
    @ApiModelProperty("收货地址id")
    private long id;
    @ApiModelProperty(value = "用户id",required = true)
    private long userId;
    @ApiModelProperty("收货人")
    private String consigner;
    @ApiModelProperty("收货人手机")
    private String phone;
    @ApiModelProperty("省")
    private long province;
    @ApiModelProperty("市")
    private long city;
    @ApiModelProperty("区/县")
    private long district;
    @ApiModelProperty("详细地址")
    private String detailAddress;
    @ApiModelProperty("是否默认值")
    private long isDefault;
}
